package com.szcinda.fitness;

import com.szcinda.fitness.dto.AppointmentDto;
import com.szcinda.fitness.persistence.Appointment;

import java.time.LocalDate;
import java.util.List;

public interface AppointmentService {

    List<AppointmentDto> getAppointmentByTrainee(String traineeOpenId);

    List<AppointmentDto> getAppointmentByCoach(String coachOpenId, LocalDate appointmentDate);

    void save(Appointment appointment);

    boolean checkIsMember(String openId);
}
